.class Lde/dealdoktor/app/activities/Settings$1;
.super Ljava/lang/Object;
.source "Settings.java"

# interfaces
.implements Landroid/preference/Preference$OnPreferenceClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lde/dealdoktor/app/activities/Settings;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lde/dealdoktor/app/activities/Settings;


# direct methods
.method constructor <init>(Lde/dealdoktor/app/activities/Settings;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lde/dealdoktor/app/activities/Settings$1;->this$0:Lde/dealdoktor/app/activities/Settings;

    .line 27
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method static synthetic access$0(Lde/dealdoktor/app/activities/Settings$1;)Lde/dealdoktor/app/activities/Settings;
    .locals 1
    .parameter

    .prologue
    .line 27
    iget-object v0, p0, Lde/dealdoktor/app/activities/Settings$1;->this$0:Lde/dealdoktor/app/activities/Settings;

    return-object v0
.end method


# virtual methods
.method public onPreferenceClick(Landroid/preference/Preference;)Z
    .locals 7
    .parameter "preference"

    .prologue
    const/4 v6, 0x1

    .line 29
    const-string v2, "DealDoktor.de startete Ende 2008 als Schn\u00e4ppchen-Blog, seit August 2011 gibt es uns auch als Android App. T\u00e4glich berichten wir \u00fcber die besten Schn\u00e4ppchen und Gratisartikel, die in Kombination mit Gutscheinen oft unschlagbar g\u00fcnstig sind. Mittlerweile sind wir zu einer richtig gro\u00dfen Schn\u00e4ppchen-Community gewachsen. Und das Beste: DealDoktor ist und bleibt komplett kostenlos."

    .line 30
    .local v2, text:Ljava/lang/String;
    new-instance v1, Landroid/app/AlertDialog$Builder;

    iget-object v3, p0, Lde/dealdoktor/app/activities/Settings$1;->this$0:Lde/dealdoktor/app/activities/Settings;

    invoke-direct {v1, v3}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    .line 31
    .local v1, builder:Landroid/app/AlertDialog$Builder;
    invoke-virtual {v1, v2}, Landroid/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v3

    invoke-virtual {v3, v6}, Landroid/app/AlertDialog$Builder;->setCancelable(Z)Landroid/app/AlertDialog$Builder;

    move-result-object v3

    const-string v4, "Ok"

    new-instance v5, Lde/dealdoktor/app/activities/Settings$1$1;

    invoke-direct {v5, p0}, Lde/dealdoktor/app/activities/Settings$1$1;-><init>(Lde/dealdoktor/app/activities/Settings$1;)V

    invoke-virtual {v3, v4, v5}, Landroid/app/AlertDialog$Builder;->setPositiveButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v3

    .line 35
    const-string v4, "Mobile Website"

    new-instance v5, Lde/dealdoktor/app/activities/Settings$1$2;

    invoke-direct {v5, p0}, Lde/dealdoktor/app/activities/Settings$1$2;-><init>(Lde/dealdoktor/app/activities/Settings$1;)V

    invoke-virtual {v3, v4, v5}, Landroid/app/AlertDialog$Builder;->setNegativeButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    .line 42
    invoke-virtual {v1}, Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog;

    move-result-object v0

    .line 43
    .local v0, alert:Landroid/app/AlertDialog;
    invoke-virtual {v0}, Landroid/app/AlertDialog;->show()V

    .line 44
    return v6
.end method
